package com.mzj.saas.mservice.contract.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/*
 *合同模板表
 */
@Entity
@Table(name = "saas_contract_template")
public class ContractTemplate {
    /*
    *模板合同序号
     */
    @Id
    @Column(name = "contract_template_number", nullable = true)
    private String contractTemplateNumber;
    /*
     *合同名称
     */
    @Column(name = "name", nullable = true)
    private String name;
    /*
     *产权单位
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *状态：0禁用 1启用  默认启用
     */
    @Column(name = "status", nullable = true)
    private Integer status;
    /*
    *条款
     */
    @Column(name = "content", nullable = true,columnDefinition = "TEXT")
    private String content;
    /*
     *操作状态：1正常 2已删除
     */
    @Column(name = "operator_status", nullable = true)
    private Integer operatorStatus;

    /*
     *导入时间
     */
    @Column(name = "import_time", nullable = true)
    private Date importTime;
    /*
     *操作人
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /*
     *最后操作时间
     */
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    public Integer getOperatorStatus() {
        return operatorStatus;
    }

    public void setOperatorStatus(Integer operatorStatus) {
        this.operatorStatus = operatorStatus;
    }
    public String getContractTemplateNumber() {
        return contractTemplateNumber;
    }

    public void setContractTemplateNumber(String contractTemplateNumber) {
        this.contractTemplateNumber = contractTemplateNumber;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getImportTime() {
        return importTime;
    }

    public void setImportTime(Date importTime) {
        this.importTime = importTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

}
